package com.zyh.scs.admin.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author hwh
 * @ClassName: 批量充值历史记录表$
 * @Description: $
 * @Date $
 * @Version 1.0
 */
@Data
@Schema(description = "批量充值历史记录表")
@TableName("scsx_history_recharge")
@Accessors(chain = true)
public class UserHistoryRecharge implements Serializable {

    /**
     * 批量充值主键id
     */
    @TableId(value = "history_id", type = IdType.AUTO)
    @Schema(description = "批量充值主键id")
    private Long historyId;

    /**
     * 充值时间
     */
    @TableField(value = "recharge_time")
    @Schema(description = "充值时间")
    private LocalDateTime rechargeTime;

    /**
     * 历史原文件url
     */
    @TableField(value = "recharge_file")
    @Schema(description = "历史原文件url")
    private String rechargeFile;

    /**
     * 历史原文件url名称
     */
    @TableField(value = "recharge_file_name")
    @Schema(description = "历史原文件url名称")
    private String rechargeFileName;

    /**
     * 充值成功历史文件
     */
    @TableField(value = "recharge_success_file")
    @Schema(description = "充值成功历史文件")
    private String rechargeSuccessFile;

    /**
     * 充值失败历史文件path
     */
    @TableField(value = "recharge_fail_file")
    @Schema(description = "充值失败历史文件path")
    private String rechargeFailFile;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
